import 'package:flutter/cupertino.dart';

enum FontType { LIGHT, MID, BOLD, DEFAULT }

class FontUtils {
  static FontWeight getTypeStr(FontType type) {
    switch (type) {
      case FontType.LIGHT:
        return FontWeight.w300;
      case FontType.BOLD:
        return FontWeight.w700;
      case FontType.MID:
        return FontWeight.w500;
    }
    return FontWeight.w400;
  }
}
